#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include "field.h"

QT_BEGIN_NAMESPACE
class QAction;
class QMenu;
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
     MainWindow();

private slots:
    void open();
    void exportImage();
    void about();

private:
    void createMenus();
    void createActions();
    void createToolBars();

    QMenu *fileMenu;
    QMenu *viewMenu;
    QMenu *helpMenu;
    QToolBar *fileToolBar;
    QToolBar *viewToolBar;
    QToolBar *quitToolBar;
    QAction *openAct;
    QAction *exportImageAct;
    QAction *defaultViewAct;
    QAction *zoomInAct;
    QAction *zoomOutAct;
    QAction *aboutAct;
    QAction *exitAct;

    Field *field;
 };

#endif // MAINWINDOW_H
